package com.softstao.guoyu.mvp.presenter.me;

import com.softstao.guoyu.model.me.MessageCount;
import com.softstao.guoyu.mvp.interactor.me.MessageInteractor;
import com.softstao.guoyu.mvp.presenter.BasePresenter;
import com.softstao.guoyu.mvp.viewer.me.MessageViewer;

/**
 * Created by vaikus on 2017/8/8.
 */

public class MessagePresenter extends BasePresenter<MessageViewer,MessageInteractor> {
    public void getMessageCount(int agentId){
        interactor.getMessageCount(agentId,o -> viewer.getMessageCount((MessageCount) o));
    }
}
